package com.young.service.imp;

import com.young.dao.ClubTypeDao;
import com.young.entity.ClubType;
import com.young.service.ClubTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 描述:
 *
 * @author BluceYoung
 * @create 2020-12-11 11:38
 * B站：TeacherYoung凌风
 * www.teacheryoung.com
 */
@Service
public class ClubTypeServiceImpl implements ClubTypeService {

    @Autowired
    ClubTypeDao clubTypeDao;

    @Override
    public List<ClubType> listTypes() {
        return clubTypeDao.listTypes();
    }
}
